package com.geo.geotool.service.impl;


import com.geo.geotool.entity.enmu.GeoFormatEnum;
import com.geo.geotool.service.IGeoService;
import com.geo.geotool.service.trans.GeometryFormatCapture;

/**
 * • @Description: TODO
 * • @author  : yell
 * • @date : 2021/12/22 17:53
 */
public class GeoServiceImpl implements IGeoService {
    @Override
    public String transJSONString(String jsonString, String requiredFormat, String wkId, String requireWkId) throws Exception {
        /***格式*/
        String type = GeometryFormatCapture.capture(jsonString);
        if(type.equals(GeoFormatEnum.GeoJSON.getType())){
            /***判断是否为集合*/

        }
        return null;
    }
}
